package com.gxa.entity.parking;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_parking")
@ApiModel(value = "Parking对象", description = "")

public class Parking implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("停车场编号")
    @TableField("parking_num")
    private String parkingNum;

    @ApiModelProperty("停车场称")
    @TableField("parking_name")
    private String parkingName;

    @ApiModelProperty("(地下停车库0地面停车场1地上停车楼2)")
    @TableField("parking_type")
    private Integer parkingType;

    @ApiModelProperty("出口个数")
    @TableField("outlet_count")
    private Integer outletCount;

    @ApiModelProperty("入口个数")
    @TableField("entrance_count")
    private Integer entranceCount;

    @ApiModelProperty("总层数")
    @TableField("floor_total")
    private Integer floorTotal;

    @ApiModelProperty("总车位数")
    @TableField("spaces_total")
    private Integer spacesTotal;

    @TableLogic(value = "0" ,delval ="1")
    @TableField("deleted")
    private Integer deleted;

}
